package com.zzxy.mybatis12.mapper;

import com.zzxy.mybatis12.entity.User;
import com.zzxy.mybatis12.vo.QueryVO;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public interface UserMapper {
    public User findUserById(int id);

    public int deleteUserById(int id);

    public User findUserByVo(QueryVO vo);

    public List<User> findUserByMap(Map<String, Object> map);

    public List<User> findUserByDynamicSQl(QueryVO vo);
    public List<User> findUserByIds(ArrayList<Integer> ids);

    public User findUserByMore2More(int uid);


}
